public class OpDemo03 {
    public static void main(String[] args) {
        int i = 10;
        int j = 20;
        System.out.println(i + j);
        System.out.println(i - j);
        System.out.println(i * j);
        System.out.println(i / j);// 0
        System.out.println(i % j);// 10 余数
        System.out.println(i != j);// true
        System.out.println(i == j);// false


        i++;
        System.out.println(i);
        i--;
        System.out.println(i);

        ++i;
        System.out.println(i);

        int k = 1;
//        System.out.println(k++);// 先用后加
//        System.out.println(k);
        System.out.println(++k);// 先加后用
    }
}
